package cn.csust.net2.manager.shared.vo;

import java.io.Serializable;
import java.util.List;

import cn.csust.net2.manager.shared.po.Authority;
import cn.csust.net2.manager.shared.po.User;

public class LoginVo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private User user;
	private List<Authority> authorities;
	private String nowTerm;
	public boolean  isLogin(){
		if(user!=null)
			return true;
		else
			return false;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public List<Authority> getAuthorities() {
		return authorities;
	}
	public void setAuthorities(List<Authority> authorities) {
		this.authorities = authorities;
	}
	public String getNowTerm() {
		return nowTerm;
	}
	public void setNowTerm(String nowTerm) {
		this.nowTerm = nowTerm;
	}
}
